package com.hisense.ovcloud.mqtt.router.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@ConfigurationProperties(prefix = "router.config")
@Configuration
@Data
public class RouterConfig {
    private String uploadKafkaTopic = "mqtt_upload";
    private String ctlKafkaTopic = "mqtt_cmdctl";
    private int uploadKafkaTopicExecPoolSize = 10;
    private int uploadKafkaTopicExecQueueSize = 10000;
    private int cacheDefaultTimeoutSeconds = 120;
    private int schedulePruneSecond = 60;

    private int doubleSendCmdExecPoolSize = 10;
    private int doubleSendCmdExecQueueSize = 10000;
}
